//
//  UserDefaultsUtil.h
//  gdemm
//
//  Created by yongwu on 15/12/2.
//  Copyright © 2015年 goldensoft. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface UserDefaultsUtil : NSObject
+(instancetype) shareInstance ;
-(void)saveIntConfig:(NSString*) key :(int)value;
-(void)saveStringConfig:(NSString *)key :(NSString*)value;
-(void)saveBoolConfig:(NSString *)key :(BOOL)value;
-(void)saveObjectConfig:(NSString*)key :(NSObject*)value;
-(NSInteger)getInt:(NSString*)key;
-(NSString*)getString:(NSString*)key;
-(BOOL)getBool:(NSString*)key;
-(NSObject*)getObject:(NSString*)key;
-(void)saveFloatConfig:(NSString*) key :(float)value;
-(float)getFloat:(NSString*)key;
@end
